import 'package:riverpod_t/page/car/data/model/info_model.dart';

class CarState {
  List<InfoModel> list = [];
  final int? page;
  final bool? hasNext;
  CarState({required this.list, this.hasNext, this.page});

  CarState copyWith({List<InfoModel>? list, int? page, bool? hasNext}) =>
      CarState(list: list ?? this.list, page: page, hasNext: hasNext);
}
